import { createProdMockServer } from 'vite-plugin-mock/es/createProdMockServer'
import m1Mock from '../mock/m1Mock.js'
import userMock from '../mock/userMock.js'
import menuMock from '../mock/menuMock.js'

const mockModules = [...m1Mock, ...userMock, ...menuMock]

export function setupProdMockServer() {
  createProdMockServer(mockModules)
}
